﻿using EFCore.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SIService
{
    public interface PurchaseordersSI
    {
        //4个条件分页查询
        Task<List<PO_Purchaseorders>> Fye(int pageSize, int currentPage, string Number = null, string Status = null, string Supplier = null, DateTime? date = null, DateTime? date1 = null);
        //查询总条数
        Task<List<PO_Purchaseorders>> Qu();
        //进货订单新增
        Task<int> JhAdd(PO_Purchaseorders pO_Purchaseorders);
        //进货订单批量删除
        Task<int> JhDel(List<int> Ids);
        //进货订单修改
        Task<int> JhUpd(PO_Purchaseorders pO_Purchaseorders);
        //进货订单审核
        Task<int> JhShen(PO_Purchaseorders pO_Purchaseorders,string to);
    }
}
